<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="copyright" content="首页">
<meta name="author" content="首页">
<title>首页</title>
<link rel="stylesheet" href="./static/css/basic.css" />
<link rel="stylesheet" href="./static/css/style.css" />
<link rel="stylesheet" href="./static/css/swiper.min.css">
<script src="./static/js/jquery-1.11.0.min.js"></script>
<script src="./static/js/swiper.jquery.min.js"></script>
</head>

<body>
   <div class="banner swiper-container">
      <div class="swiper-wrapper">
        <div class="swiper-slide"><img src="./static/images/b1.png"></div>
        <div class="swiper-slide"><img src="./static/images/b2.png"></div>
        <div class="swiper-slide"><img src="./static/images/b3.png"></div>
        <div class="swiper-slide"><img src="./static/images/b4.png"></div>
        <div class="swiper-slide"><img src="./static/images/b5.png"></div>
        <div class="swiper-slide"><img src="./static/images/b6.png"></div>
        <div class="swiper-slide"><img src="./static/images/b7.png"></div>
        <div class="swiper-slide"><img src="./static/images/b8.png"></div>
      </div>
      <div class="swiper-pagination"></div>
    </div>
    <div class="main">
      <div class="nav" data-nav="">
        <a class="nav-item nav-current" data-content="#content1" data-nav-tag="anti"><i></i>
          <p>防伪查询</p>
        </a>
        <a class="nav-item" data-content="#content2" data-nav-tag="trace"><i></i>
          <p>溯源查询</p>
        </a>
        <a class="nav-item" id="brandStory"><i></i>
          <p>品牌介绍</p>
        </a>
      </div>
      <form action="./index1.html" method="POST">
        <div class="content-wrap">
          <div class="content" id="content1" style="display: block">
            <div class="content-item"><a href="javascript:void(0);" class="cjm-btn" id="scanQrCode2">扫一扫</a></div>
            <div class="content-item clearfix content-item1">
              <input type="text" class="cjm-input" id="antiCode" value="91319051854408194086" maxlength="22" placeholder="请输入身份码" />
              <!-- <img src="./static/images/icon4.png" class="saoyis" alt=""> -->
            </div>
            <!-- <div class="content-item"><a href="javascript:void(0);" class="cjm-btn" id="antiFakeQuery">查 询</a></div> -->
            <input type="submit" class="cjm-btn" id="antiFakeQuery" value="查 询">
          </div>
          
        </div>
      </form>
      
      
      <div class="cjm-footer"><a href="" target="_blank">技术支持：甲骨文超级码科技股份 <br>Copyright 2005-2020 All Reserved</a></div>
    </div>
    <script>
      $(function(){
        new Swiper('.banner', {
          autoplay: 3000,
          autoplayDisableOnInteraction: false,
          speed: 800,
          loop: true,
          pagination: '.swiper-pagination'
        });
        
        
        // 获取连接上的code  如果有 code则不显示源码输入框
        const queryString = window.location.search;
        const urlParams = new URLSearchParams(queryString);
        const code = urlParams.get('code')
        if(code){
          $('.content-item1').addClass('none')
        }
        
        // // 点击查询结果
        // $('#antiFakeQuery').click(function(){
        //   window.open('./index1.html', '_self')
        // })
        
        
      })
    </script>
</body>
</html>